package tx.oopa.circuit.port.impl;

import tx.oopa.circuit.port.AbstractComponent;

/**
 * The component implementation which defines the last component in a circuit.
 * The output value of this component is (one of) the output values of the 
 * entire circuit.
 * @author xlarijn
 *
 */
public class Probe extends AbstractComponent {

    private static final String ID = "PROBE";
    @SuppressWarnings("unused")
    private static Probe instance = new Probe(ID);
    
    protected Probe() {}
    
    protected Probe(String ID) {
        super(ID);
    }
    
    @Override
    public Boolean setInput(Boolean bool) {
        return null;
    }

    @Override
    public AbstractComponent clone() {
        return new Probe();
    }
    
    public String getID() {
        return ID;
    }
}
